package com.hex.ds.em.hcdp.pack.dao;

import com.hex.ds.em.hcdp.pack.entity.ScriptItemEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface IScanItemRepository extends JpaRepository<ScriptItemEntity, String> {
    Optional<ScriptItemEntity> findByScanDescAndDeletedFalse(String scanDesc);
    Optional<ScriptItemEntity> findByScanDescInfoAndDeletedFalse(String scanDescInfo);
}
